package com.zuimei.zuimei.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Jogger on 2017/1/20.
 * 发现应用--美友--推荐
 */

public class RecommandAppBean implements Serializable {
    private boolean is_beta_end;
    private String app_name;
    private String package_name;
    private int pos;
    private String author_gender;
    private int author_identity;
    private int author_flowers;
    private int id;
    private String size;
    private int platform_id;
    private String title;
    private int min_sdk_version;
    private String sub_title;
    private String icon_image;
    private int show_times;
    private String description;
    private String updated_at;
    private int collect_times;
    private String author_name;
    private int down_times;
    private String author_avatar_url;
    private boolean is_beta;
    private String author_bgcolor;
    private int comment_times;
    private String created_at;
    private String platform_name;
    private int up_times;
    private boolean can_show;
    private String author_career;
    private String cover_image;
    private int author_id;
    private List<SameAppsBean> same_apps;
    private List<DownloadUrlsBean> download_urls;
    private List<UserBean> collect_users;
    private List<CommentsBean> comments;
    private List<DownloadUrlsBean> redirect_download_urls;
    private List<UserBean> up_users;
    private List<TagsBean> tags;
    private List<String> all_images;
    private List<UserBean> down_users;

    public boolean isIs_beta_end() {
        return is_beta_end;
    }

    public void setIs_beta_end(boolean is_beta_end) {
        this.is_beta_end = is_beta_end;
    }

    public String getApp_name() {
        return app_name;
    }

    public void setApp_name(String app_name) {
        this.app_name = app_name;
    }

    public String getPackage_name() {
        return package_name;
    }

    public void setPackage_name(String package_name) {
        this.package_name = package_name;
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        this.pos = pos;
    }

    public String getAuthor_gender() {
        return author_gender;
    }

    public void setAuthor_gender(String author_gender) {
        this.author_gender = author_gender;
    }

    public int getAuthor_identity() {
        return author_identity;
    }

    public void setAuthor_identity(int author_identity) {
        this.author_identity = author_identity;
    }

    public int getAuthor_flowers() {
        return author_flowers;
    }

    public void setAuthor_flowers(int author_flowers) {
        this.author_flowers = author_flowers;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public int getPlatform_id() {
        return platform_id;
    }

    public void setPlatform_id(int platform_id) {
        this.platform_id = platform_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getMin_sdk_version() {
        return min_sdk_version;
    }

    public void setMin_sdk_version(int min_sdk_version) {
        this.min_sdk_version = min_sdk_version;
    }

    public String getSub_title() {
        return sub_title;
    }

    public void setSub_title(String sub_title) {
        this.sub_title = sub_title;
    }

    public String getIcon_image() {
        return icon_image;
    }

    public void setIcon_image(String icon_image) {
        this.icon_image = icon_image;
    }

    public int getShow_times() {
        return show_times;
    }

    public void setShow_times(int show_times) {
        this.show_times = show_times;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public int getCollect_times() {
        return collect_times;
    }

    public void setCollect_times(int collect_times) {
        this.collect_times = collect_times;
    }

    public String getAuthor_name() {
        return author_name;
    }

    public void setAuthor_name(String author_name) {
        this.author_name = author_name;
    }

    public int getDown_times() {
        return down_times;
    }

    public void setDown_times(int down_times) {
        this.down_times = down_times;
    }

    public String getAuthor_avatar_url() {
        return author_avatar_url;
    }

    public void setAuthor_avatar_url(String author_avatar_url) {
        this.author_avatar_url = author_avatar_url;
    }

    public boolean isIs_beta() {
        return is_beta;
    }

    public void setIs_beta(boolean is_beta) {
        this.is_beta = is_beta;
    }

    public String getAuthor_bgcolor() {
        return author_bgcolor;
    }

    public void setAuthor_bgcolor(String author_bgcolor) {
        this.author_bgcolor = author_bgcolor;
    }

    public int getComment_times() {
        return comment_times;
    }

    public void setComment_times(int comment_times) {
        this.comment_times = comment_times;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getPlatform_name() {
        return platform_name;
    }

    public void setPlatform_name(String platform_name) {
        this.platform_name = platform_name;
    }

    public int getUp_times() {
        return up_times;
    }

    public void setUp_times(int up_times) {
        this.up_times = up_times;
    }

    public boolean isCan_show() {
        return can_show;
    }

    public void setCan_show(boolean can_show) {
        this.can_show = can_show;
    }

    public String getAuthor_career() {
        return author_career;
    }

    public void setAuthor_career(String author_career) {
        this.author_career = author_career;
    }

    public String getCover_image() {
        return cover_image;
    }

    public void setCover_image(String cover_image) {
        this.cover_image = cover_image;
    }

    public int getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(int author_id) {
        this.author_id = author_id;
    }

    public List<SameAppsBean> getSame_apps() {
        return same_apps;
    }

    public void setSame_apps(List<SameAppsBean> same_apps) {
        this.same_apps = same_apps;
    }

    public List<DownloadUrlsBean> getDownload_urls() {
        return download_urls;
    }

    public void setDownload_urls(List<DownloadUrlsBean> download_urls) {
        this.download_urls = download_urls;
    }

    public List<UserBean> getCollect_users() {
        return collect_users;
    }

    public void setCollect_users(List<UserBean> collect_users) {
        this.collect_users = collect_users;
    }

    public List<CommentsBean> getComments() {
        return comments;
    }

    public void setComments(List<CommentsBean> comments) {
        this.comments = comments;
    }

    public List<DownloadUrlsBean> getRedirect_download_urls() {
        return redirect_download_urls;
    }

    public void setRedirect_download_urls(List<DownloadUrlsBean> redirect_download_urls) {
        this.redirect_download_urls = redirect_download_urls;
    }

    public List<UserBean> getUp_users() {
        return up_users;
    }

    public void setUp_users(List<UserBean> up_users) {
        this.up_users = up_users;
    }

    public List<TagsBean> getTags() {
        return tags;
    }

    public void setTags(List<TagsBean> tags) {
        this.tags = tags;
    }

    public List<String> getAll_images() {
        return all_images;
    }

    public void setAll_images(List<String> all_images) {
        this.all_images = all_images;
    }

    public List<UserBean> getDown_users() {
        return down_users;
    }

    public void setDown_users(List<UserBean> down_users) {
        this.down_users = down_users;
    }

    public static class SameAppsBean implements Serializable {
        /**
         * author : {"userName":"最美应用","career":"@最美应用","gender":"男","bg_color":"#08AAD9",
         * "avatar_url":"http","enname":"","flowers":0,"id":1,"identity":0}
         * url :
         * up_times : 65
         * type : zuimei.daily
         * id : 4788
         * digest : 视觉设计师与插画师对于「位图」和「矢量图」的差别应该是最为敏感的群体之一了。对于非专业领域的人来说，区分二者最简单的方法，就是看其放大后是否会「失真」...
         */

        private UserBean author;
        private String url;
        private String up_times;
        private String type;
        private int id;
        private String digest;

        public UserBean getAuthor() {
            return author;
        }

        public void setAuthor(UserBean author) {
            this.author = author;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getUp_times() {
            return up_times;
        }

        public void setUp_times(String up_times) {
            this.up_times = up_times;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getDigest() {
            return digest;
        }

        public void setDigest(String digest) {
            this.digest = digest;
        }

        public static class UserBean implements Serializable {
            /**
             * userName : 最美应用
             * career : @最美应用
             * gender : 男
             * bg_color : #08AAD9
             * avatar_url : http
             * enname :
             * flowers : 0
             * id : 1
             * identity : 0
             */

            private String userName;
            private String career;
            private String gender;
            private String bg_color;
            private String avatar_url;
            private String enname;
            private int flowers;
            private int id;
            private int identity;

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getCareer() {
                return career;
            }

            public void setCareer(String career) {
                this.career = career;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getBg_color() {
                return bg_color;
            }

            public void setBg_color(String bg_color) {
                this.bg_color = bg_color;
            }

            public String getAvatar_url() {
                return avatar_url;
            }

            public void setAvatar_url(String avatar_url) {
                this.avatar_url = avatar_url;
            }

            public String getEnname() {
                return enname;
            }

            public void setEnname(String enname) {
                this.enname = enname;
            }

            public int getFlowers() {
                return flowers;
            }

            public void setFlowers(int flowers) {
                this.flowers = flowers;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getIdentity() {
                return identity;
            }

            public void setIdentity(int identity) {
                this.identity = identity;
            }
        }
    }

    public static class DownloadUrlsBean implements Serializable {
        /**
         * url : http
         * name : Google Play
         * channel : googleplay
         */

        private String url;
        private String name;
        private String channel;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getChannel() {
            return channel;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }
    }

    public static class UserBean implements Serializable {
        /**
         * userName : 拒绝伸手党
         * career : 看心情安利
         * gender : 女
         * bg_color : #00bdcd
         * avatar_url : http0
         * identity : 0
         * flowers : 439
         * id : 1640169
         * enname :
         */

        private String userName;
        private String career;
        private String gender;
        private String bg_color;
        private String avatar_url;
        private int identity;
        private int flowers;
        private int id;
        private String enname;

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getCareer() {
            return career;
        }

        public void setCareer(String career) {
            this.career = career;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getBg_color() {
            return bg_color;
        }

        public void setBg_color(String bg_color) {
            this.bg_color = bg_color;
        }

        public String getAvatar_url() {
            return avatar_url;
        }

        public void setAvatar_url(String avatar_url) {
            this.avatar_url = avatar_url;
        }

        public int getIdentity() {
            return identity;
        }

        public void setIdentity(int identity) {
            this.identity = identity;
        }

        public int getFlowers() {
            return flowers;
        }

        public void setFlowers(int flowers) {
            this.flowers = flowers;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getEnname() {
            return enname;
        }

        public void setEnname(String enname) {
            this.enname = enname;
        }
    }

    public static class TagsBean implements Serializable {
        /**
         * type : self
         * id : 169
         * title : 投稿首页
         */

        private String type;
        private int id;
        private String title;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class CommentsBean implements Serializable{
        /**
         * has_next : 1
         * data : [{"is_on_cover":false,"author_bgcolor":"#08AAD9","created_at":"2017-01-16
         * 06:01:50","updated_at":"2017-01-16 06:01:50","author_gender":"男",
         * "content":"对国内用户没什么用感觉","author_name":"乜哇","author_career":"微博美友","article":4833,
         * "author_id":1558245,"author_avatar_url":"http://tp4.sinaimg
         * .cn/1929856723/180/40089581345/1","id":59882}]
         */

        private int has_next;
        private List<DataBean> data;

        public int getHas_next() {
            return has_next;
        }

        public void setHas_next(int has_next) {
            this.has_next = has_next;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable{
            /**
             * is_on_cover : false
             * author_bgcolor : #08AAD9
             * created_at : 2017-01-16 06:01:50
             * updated_at : 2017-01-16 06:01:50
             * author_gender : 男
             * content : 对国内用户没什么用感觉
             * author_name : 乜哇
             * author_career : 微博美友
             * article : 4833
             * author_id : 1558245
             * author_avatar_url : http://tp4.sinaimg.cn/1929856723/180/40089581345/1
             * id : 59882
             */

            private boolean is_on_cover;
            private String author_bgcolor;
            private String created_at;
            private String updated_at;
            private String author_gender;
            private String content;
            private String author_name;
            private String author_career;
            private int article;
            private int author_id;
            private String author_avatar_url;
            private int id;

            public boolean isIs_on_cover() {
                return is_on_cover;
            }

            public void setIs_on_cover(boolean is_on_cover) {
                this.is_on_cover = is_on_cover;
            }

            public String getAuthor_bgcolor() {
                return author_bgcolor;
            }

            public void setAuthor_bgcolor(String author_bgcolor) {
                this.author_bgcolor = author_bgcolor;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getAuthor_gender() {
                return author_gender;
            }

            public void setAuthor_gender(String author_gender) {
                this.author_gender = author_gender;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getAuthor_name() {
                return author_name;
            }

            public void setAuthor_name(String author_name) {
                this.author_name = author_name;
            }

            public String getAuthor_career() {
                return author_career;
            }

            public void setAuthor_career(String author_career) {
                this.author_career = author_career;
            }

            public int getArticle() {
                return article;
            }

            public void setArticle(int article) {
                this.article = article;
            }

            public int getAuthor_id() {
                return author_id;
            }

            public void setAuthor_id(int author_id) {
                this.author_id = author_id;
            }

            public String getAuthor_avatar_url() {
                return author_avatar_url;
            }

            public void setAuthor_avatar_url(String author_avatar_url) {
                this.author_avatar_url = author_avatar_url;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}